package com.probox.common.entity.domain.customer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.probox.common.core.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 客户档案对象 customer_info_archives
 *
 * @author usoft
 * @date 2022-11-10
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("customer_info_archives")
public class CustomerInfoArchives implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    //默认主键自增
    @TableId(value = "archives_id", type = IdType.AUTO)
    private Long archivesId;

    /**
     * $column.columnComment
     */
    //预约ID
    private Long subscribeId;

    //预约明细ID
    private Long subscribeDetailId;

    /**
     * 预约项目ID
     */
    private Long itemId;



    /**
     * 档案属性值
     */
    @Excel(name = "档案属性值")
    private String attributeValue;

    /**
     * 状态(1有效/0无效)
     */
    @Excel(name = "状态(1有效/0无效)")
    private String dataStatus;

    /**
     * 创建人ID
     */
    @Excel(name = "创建人ID")
    private Long createUid;

    /**
     * 创建人名称
     */
    @Excel(name = "创建人名称")
    private String createName;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 更新人ID
     */
    @Excel(name = "更新人ID")
    private Long updateUid;

    /**
     * 更新人人名称
     */
    @Excel(name = "更新人人名称")
    private String updateName;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


}
